// TTGameServerDlg.h : header file
//

#pragma once
#include "afxwin.h"
#include <vector>
#include "resource.h"

// CTTGameServerDlg dialog
class CTTGameServerDlg : public CDialog
{
// Construction
public:
	CTTGameServerDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	enum { IDD = IDD_TTGAMESERVER_DIALOG };

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support


// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()

public:
	static CTTGameServerDlg * s_dlg ;
    static void SetDlg(CTTGameServerDlg * dlg_) 
	{
		s_dlg = dlg_ ;
	}
	static CTTGameServerDlg * GetDlg() 
	{
		return s_dlg ;
	}

public:
	afx_msg void OnDestroy();

public:
	void SetDBStatusStr(std::string str_) ;

public:
	CStatic m_DBStatus;
	CStatic m_ListenClient;
	afx_msg void OnBnClickedButton1();
};
